CPUIDLE: Port Linux menu governor to replace the initial ladder governor
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Sep 2008 10:18:36 +0000 (11:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Sep 2008 10:18:36 +0000 (11:18 +0100)
commit246127c0bc91ef95db7cfee2ba5c72965ff01d1b
tree2fa1dd836d6305778b1aa4ee8091b6767c8208a5
parent9851c8e77e8da55e5bef15e52048669480e38f1d
CPUIDLE: Port Linux menu governor to replace the initial ladder governor

The ladder governor has long pro/demotion delay shortcome while
applying to tickless mode, because it needs to count usage. Menu
governor chooses the next state simply via break-event prediction
including the factors of next timer event & last residency time etc,
so it would have faster response speed.

Signed-off-by: Gang Wei <gang.wei@intel.com>
xen/arch/x86/acpi/Makefile
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/acpi/cpuidle_menu.c [new file with mode: 0644]
xen/include/xen/cpuidle.h [new file with mode: 0644]